import { ISearchFormConfig } from "@/types/userType"
export const searchFormConfig: ISearchFormConfig = {
  itemStyle: { padding: "0px 10px" },
  labelwidth: "90px",
  cLayout: { span: 8 },
  showHeader: true,
  showFooter: true,
  searchFormItems: [
    {
      field: "name",
      label: "商品标题",
      placeholder: "搜索标题",
    },
    {
      field: "oldPrice",
      label: "价格",
      placeholder: "请输入价格",
    },
    {
      field: "address",
      label: "发货地址",
      placeholder: "请输入发货地址",
    },
    {
      field: "saleCount",
      label: "销量",
      placeholder: "查询销量",
    },
    {
      field: "createAt",
      label: "创建时间",
      elType: "picker",
      otherOption: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "daterange",
      },
    },
  ],
}
